package com.baomidou.springwind.controller;

import java.util.List;

/**
 * Created by demo on 2017/6/2.
 */
public class NodeData {
    private final  List<? extends Object> value;
    private final String name;

    public NodeData(String name, List<? extends Object> value) {
        this.name = name;
        this.value = value;
    }

    public  List<? extends Object> getValue() {
        return value;
    }

    public String getName() {
        return name;
    }

    @Override
    public String toString() {
        return "PieData{" +
                "value='" + value + '\'' +
                ", name='" + name + '\'' +
                '}';
    }
}
